package com.example.talkheart.database

import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.example.talkheart.entity.TeacherBean

@Dao
interface TeacherDatabaseDao {
    @Insert()
    fun insert(teacherBean: TeacherBean)
    @Query("SELECT * FROM teacher_table")
    fun queryAll():List<TeacherBean>
}